<?php

namespace App\Models\Acl;

use Spatie\Permission\Models\Permission as SpatiePermission;

//use GeneaLabs\LaravelModelCaching\Traits\Cachable;

class Permission extends SpatiePermission
{
	//use Cachable;

    protected $table = 'acl_permissions';

    protected $guard_name = 'admin';

    public function children()
    {
        return $this->hasMany('App\Models\Acl\Permission', 'parent', 'id');
    }
}
